/***************************************************************
*  Copyright (c) 2007 by GroupMe! Team (www.groupme.net)
*  All rights reserved.
*
*  This file is part of the GroupMe! Project. Source code of 
*  this project is closed and redistribution of this code is
*  prohibited. 
*  
*  Contact: http://www.groupme.net
*
*  This copyright notice MUST APPEAR in all copies of the file!
***************************************************************/
package net.groupme.controller.model;

/**
 * created on 31.05.2008
 * 
 * This class/interface...
 * 
 * @author Mischa Frank, <a href="mailto:code@planetfrank.net">code@planetfrank.net</a>
 * @author last edited by: $Author: nicole $
 * 
 * @version $Revision: 1.3 $ $Date: 2008-11-17 16:26:15 $
 */
public class ResourceVisualizationBean {

	/* the position and size for the given groupwindow */
	private int relativeX = 0;
	private int relativeY = 0;
	private int relativeZ = 0;
	private int relativeHeight = 0;
	private int relativeWidth = 0;
	private String[] tags = null;
	private String[] tagKeywords = null;
	private String html = "";
	
	/* the renderer for this resource */
	private String renderer = null;
	
	/* the id of the resource represented by this visualization */
	private String id = null;
	
	/* the URI of the resource represented by this visualization */
	private String uri = null;
	
	/* the name of the resource represented by this visualization */
	private String name = null;
	
	/* the description of the resource represented by this visualization */
	private String description = null;
	
	/* the URL of the resource represented by this visualization */
	private String url = null;

	/**
	 * Creates a new ResourceVisualizationBean instance.
	 * @param description
	 * @param id
	 * @param name
	 * @param relativeHeight
	 * @param relativeWidth
	 * @param relativeX
	 * @param relativeY
	 * @param relativeZ
	 * @param uri
	 * @param url 
	 */
	public ResourceVisualizationBean(String description, String id, String name,
			int relativeHeight, int relativeWidth, int relativeX,
			int relativeY, int relativeZ, String uri, String url, String renderer, String[] tags, String[] keywords) {
		super();
		this.description = description;
		this.id = id;
		this.name = name;
		this.relativeHeight = relativeHeight;
		this.relativeWidth = relativeWidth;
		this.relativeX = relativeX;
		this.relativeY = relativeY;
		this.relativeZ = relativeZ;
		this.uri = uri;
		this.url = url;
		this.renderer = renderer;
		this.tags = tags;
		this.tagKeywords = keywords;
	}
	
	/**
	 * This method returns the relativeX of a ResourceVisualizationBean object.
	 * @return the relativeX
	 */
	public int getRelativeX() {
		return relativeX;
	}

	/**
	 * This method sets the relativeX of a ResourceVisualizationBean object.
	 * @param relativeX the relativeX to set
	 */
	public void setRelativeX(int relativeX) {
		this.relativeX = relativeX;
	}

	/**
	 * This method returns the relativeY of a ResourceVisualizationBean object.
	 * @return the relativeY
	 */
	public int getRelativeY() {
		return relativeY;
	}

	/**
	 * This method sets the relativeY of a ResourceVisualizationBean object.
	 * @param relativeY the relativeY to set
	 */
	public void setRelativeY(int relativeY) {
		this.relativeY = relativeY;
	}

	/**
	 * This method returns the relativeZ of a ResourceVisualizationBean object.
	 * @return the relativeZ
	 */
	public int getRelativeZ() {
		return relativeZ;
	}

	/**
	 * This method sets the relativeZ of a ResourceVisualizationBean object.
	 * @param relativeZ the relativeZ to set
	 */
	public void setRelativeZ(int relativeZ) {
		this.relativeZ = relativeZ;
	}

	/**
	 * This method returns the relativeHeight of a ResourceVisualizationBean object.
	 * @return the relativeHeight
	 */
	public int getRelativeHeight() {
		return relativeHeight;
	}

	/**
	 * This method sets the relativeHeight of a ResourceVisualizationBean object.
	 * @param relativeHeight the relativeHeight to set
	 */
	public void setRelativeHeight(int relativeHeight) {
		this.relativeHeight = relativeHeight;
	}

	/**
	 * This method returns the relativeWidth of a ResourceVisualizationBean object.
	 * @return the relativeWidth
	 */
	public int getRelativeWidth() {
		return relativeWidth;
	}

	/**
	 * This method sets the relativeWidth of a ResourceVisualizationBean object.
	 * @param relativeWidth the relativeWidth to set
	 */
	public void setRelativeWidth(int relativeWidth) {
		this.relativeWidth = relativeWidth;
	}

	/**
	 * This method returns the id of a ResourceVisualizationBean object.
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * This method sets the id of a ResourceVisualizationBean object.
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * This method returns the uri of a ResourceVisualizationBean object.
	 * @return the uri
	 */
	public String getUri() {
		return uri;
	}

	/**
	 * This method sets the uri of a ResourceVisualizationBean object.
	 * @param uri the uri to set
	 */
	public void setUri(String uri) {
		this.uri = uri;
	}

	/**
	 * This method returns the name of a ResourceVisualizationBean object.
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * This method sets the name of a ResourceVisualizationBean object.
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * This method returns the description of a ResourceVisualizationBean object.
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * This method sets the description of a ResourceVisualizationBean object.
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * This method returns the url of a ResourceVisualizationBean object.
	 * @return the url
	 */
	public String getUrl() {
		return url;
	}

	/**
	 * This method sets the url of a ResourceVisualizationBean object.
	 * @param url the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}

	/**
	 * This method returns the renderer of a ResourceVisualizationBean object.
	 * @return the renderer
	 */
	public String getRenderer() {
		return renderer;
	}

	/**
	 * This method sets the renderer of a ResourceVisualizationBean object.
	 * @param renderer the renderer to set
	 */
	public void setRenderer(String renderer) {
		this.renderer = renderer;
	}

	/**
	 * This method returns the tags of a ResourceVisualizationBean object.
	 * @return the tags
	 */
	public String[] getTags() {
		return tags;
	}

	/**
	 * This method sets the tags of a ResourceVisualizationBean object.
	 * @param tags the tags to set
	 */
	public void setTags(String[] tags) {
		this.tags = tags;
	}
	
	/**
	 * This method returns the tag-keywords of a ResourceVisualizationBean object.
	 * @return the tags
	 */
	public String[] getTagKeywords() {
		return tagKeywords;
	}

	/**
	 * This method sets the tag-keywords of a ResourceVisualizationBean object.
	 * @param tags the tags to set
	 */
	public void setTagKeywords(String[] tagKeywords) {
		this.tagKeywords = tagKeywords;
	}

	/**
	 * This method returns the html of a ResourceVisualizationBean object.
	 * @return the html
	 */
	public String getHtml() {
		return html;
	}
	
	/**
	 * This method sets the html of a ResourceVisualizationBean object.
	 * @param html the html to set
	 */
	public void setHtml(String html) {
		this.html = html;
	}
}
